﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.Lib.ExtensionMethod.ExtensionString2
{
    public static class StringProcesser
    {
        /// <summary>
        /// 获取第一个字符
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        public static char GetFirstChar(this string str)
        {
            return str[0];
        }
    }
}
